<cp-navbar (onClickLeft)="onClickLeft()"></cp-navbar>
<div class="error" *ngIf="error"><cp-error (reload)="handleReload()"></cp-error></div>
<div class="loading" *ngIf="loading"><cp-loading></cp-loading></div>
<div class="container" *ngIf="!error && !loading">
  <div class="estate" routerLink="/workspace/estate/detail" [queryParams]="{ project: ProjectInfo.Id }">
    <cp-estate-item [activity]="false" [item]="ProjectInfo"></cp-estate-item>
  </div>
  <div class="appointinfo">
    <p class="title">预约信息</p>
    <div class="list">
      <div class="item">
        <span class="label">预约时间：</span> <span class="value">{{ UpdateTime }}</span>
      </div>
    </div>
  </div>
  <div class="comment" *ngIf="comment.Id">
    <p class="title">评价信息</p>
    <div class="baseinfo">
      <img [src]="comment.Photo" class="avatar" />
      <div class="info">
        <div class="broker">
          <span class="label">经纪人：</span> <span class="value">{{ comment.Name }}</span>
        </div>
        <div class="score">
          <span class="label">评&nbsp;&nbsp;&nbsp;分：</span>
          <div class="rates"><cp-rate [score]="comment.Score"></cp-rate></div>
        </div>
      </div>
    </div>
    <div class="content">{{ comment.Content }}</div>
    <div class="bottom">
      <span class="time">{{ comment.UpdateTime }}</span> <span class="mark">已提交该评价</span>
    </div>
  </div>
</div>
